export interface SearchParams {
    hosname?: string;
    hoscode?: string;
}

export interface GetHospitalSetListparams extends SearchParams {
    page: number;
    limit: number;

}


export interface HospitalSetList {
    id: number;
    hosname: string;
    hoscode: string;
    apiUrl: string;
    signKey: string;
    contactsName: string;
    contactsPhone: string;
}

export interface GetHospitalSetListResponse {
    records: HospitalSetList[];
    total: number;
}
export interface AddHospitalParams {
    apiUrl: string,
    contactsName: string;
    contactsPhone: string;
    hoscode:string;
    hosname:string;
}
export interface UpdateHospitalParams extends AddHospitalParams {
    id:number
}